package com.zmm.zebulon.starter.desensitize.core.annotation;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.zmm.zebulon.starter.desensitize.base.annotation.DesensitizeBy;
import com.zmm.zebulon.starter.desensitize.core.handler.AddressHandler;

import java.lang.annotation.*;

/**
 * description: 地址<br>
 * 用于 {@link DesensitizeTest} 测试使用
 *
 * @author zebulon
 * package com.zmm.zebulon.starter.desensitize.core.annotation
 * name: Address
 * date 2024/1/7 16:19
 */
@Documented
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@DesensitizeBy(handler = AddressHandler.class)
public @interface Address {

    String replacer() default "*";

}

